package org.luo.news.domain.category;



import com.baomidou.mybatisplus.extension.service.IService;
import org.luo.common.common.Result;

import java.util.List;

public interface CategoryService extends IService<Category> {
    Result add(Category category);

    Result<List<Category>> getList();

    Result<Category> detail(Integer id);

    Result update(Category category);

    Result delete(Integer id);
}
